<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>New Web Project</title>
<style>
.draggable {
	width: 100px;
	height: 100px;
	position: absolute;
	left: 0px;
	top: 0px;
	background: red;
}
</style>
<script src="drag.js"></script>
<script src="event.js"></script>
<script src="style.js"></script>
<script>
window.onload = function(){
	var oDiv = document.getElementById('div1');
	dragXY(oDiv, {
		limited: true,
		cling: 20
	});
}
</script>
</head>
<body>
<div id="div1" class="draggable"></div>
</body>
</html>
